<!--
 * @Description: 渲染markdown文件
 -->
<template>
  <div id="my-markdown" class="markdown-body">
    <vue-markdown :source="glDetail"></vue-markdown>
  </div>
</template>
<script>
import VueMarkdown from "vue-markdown";

export default {
  name: "CatMarkdown",
  props: ["glDetail"],
  components: {
    VueMarkdown
  },
  data() {
    return {
    };
  },
};
</script>
<style>
@import "../assets/css/github-markdown.css";

.markdown-body {
  box-sizing: border-box;
  margin: 10px auto;
  padding: 0 50px;
}
</style>
